package com.lebang.mapper;

import com.lebang.domain.SdkErrorDayLog;
import com.lebang.example.SdkErrorDayLogExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

/**
 * SdkErrorDayLogMapper继承基类
 */
@Mapper
public interface SdkErrorDayLogMapper extends MyBatisBaseDao<SdkErrorDayLog, Long, SdkErrorDayLogExample> {
    Integer countByMemberIdAndSdkKey(@Param("memberId") String userid,@Param("sdkKey") String sdkKey,@Param("now") LocalDate now);

    void deleteByDate(@Param("date") LocalDate nowDate);
}